Consolidation of LVFRT capabilities of microgrids using energy storage devices

The performance and dependability of distribution networks may be enhanced by the incorporation of microgrids (MGs). However, it is necessary to enhance low voltage fault-ride-through (LVFRT), which has the capacity to prevent abrupt grid disconnections during LV occurrences under problematic circumstances. In this study, a control strategy for energy storage elements (ESDs) which includes batteries and supercapacitors is proposed to enhance LVFRT under balanced and unbalanced faults. The MG comprises wind farms and/or photovoltaic arrays. Based on the dynamic simulations using MATLAB/SIMULINK, the ESDs can enhance LVFRT capability. A comparison of the conventional crowbar scheme and ESDs is realized, and the latter has a better performance than the former in retaining the DC-link voltage within satisfactory bounds. For the purpose of maintaining the DC-link voltage at a reference level, the battery stores extra power in the DC-bus of three systems. LVFRT is improved by the crowbar circuit, however the resistance consumes the extra power. Super capacitors (SCs) prevent DC voltage fluctuations, reduce active power oscillations, and hasten system stabilization when present. At an advanced stage of this effort, the coot bird optimizer (CBO) is applied to generate the best gains of bi-directional converter PI-controller and the ESDs ratings to have minimum ripples in the DC-bus voltage and to boost the LVFRT capability of the MGs. The viability of the proposed method based on the CBO’s results is indicated with further validations under different operating scenarios.


Consolidation of LVFRT capabilities of microgrids using energy storage devices Aya M. Moheb , Enas A. El-Hay * & Attia A. El-Fergany
The performance and dependability of distribution networks may be enhanced by the incorporation of microgrids (MGs).However, it is necessary to enhance low voltage fault-ride-through (LVFRT), which has the capacity to prevent abrupt grid disconnections during LV occurrences under problematic circumstances.In this study, a control strategy for energy storage elements (ESDs) which includes batteries and supercapacitors is proposed to enhance LVFRT under balanced and unbalanced faults.The MG comprises wind farms and/or photovoltaic arrays.Based on the dynamic simulations using MATLAB/SIMULINK, the ESDs can enhance LVFRT capability.A comparison of the conventional crowbar scheme and ESDs is realized, and the latter has a better performance than the former in retaining the DC-link voltage within satisfactory bounds.For the purpose of maintaining the DC-link voltage at a reference level, the battery stores extra power in the DC-bus of three systems.LVFRT is improved by the crowbar circuit, however the resistance consumes the extra power.Super capacitors (SCs) prevent DC voltage fluctuations, reduce active power oscillations, and hasten system stabilization when present.At an advanced stage of this effort, the coot bird optimizer (CBO) is applied to generate the best gains of bi-directional converter PI-controller and the ESDs ratings to have minimum ripples in the DC-bus voltage and to boost the LVFRT capability of the MGs.The viability of the proposed method based on the CBO's results is indicated with further validations under different operating scenarios.

List of symbols P mec
Mechanical power of WT in (W) ρ Air density in (kg/m The difference in dc voltage The significance of electric grid (egrid) codes is that they run the egrid in line with the utmost stability and to adjust frequency and terminal voltage.Low voltage fault ride-through (LVFRT) ability is among the most required egrid codes.This prevents loss in generated electricity and helps generation units connect to the egrid in a particular way during and after a fault occurs 1 .Photovoltaic (PV) generating arrays and double-fed induction generator (DFIG) based wind systems have a special concern for renewable energy sources in the world as they serve to diminish the impacts of greenhouse gas emissions 2 .
Using a PV involves converting the irradiation of sunlight through one or two layers of semiconductor materials.A two-stage PV system includes a DC/DC converter and a DC/AC inverter to generate electrical power 3 .Tracking PV arrays for maximum power (MP) is accomplished with MPPT procedures.These are the perturb-and-observe technique 4 , the constant voltage technique 5 , and the incremental conductance technique 6 .
Several approaches are introduced to boost the LVFRT capability of DFIG, especially since it is very sensitive to egrid faults 7 .LVFRT strategies are divided into software and hardware methods.Software methods limit inrush rotor current, which are the feedforward control technique 8 , vector technique 9 , sliding control technique 10 , fuzzy logic 11 , and the linear quadratic regulator 12 .Hardware devices such as protective, and reactive power devices, and energy storage elements (ESDs) are presented.Protective devices limit rises in rotor currents, and DC voltage 13 , DC chopper resistance 14 , dynamic braking resistor 15 , superconducting current limiter 16 , and bridge fault current limiter 17 .The reactive power is injected into DFIG to enhance the performance through devices like static var compensation and static synchronous compensation (STATCOM) 18 , dynamic voltage resistance (DVR) 19 , and unified power quality conditioner 20 .During a fault, ESDs rely on storing active power that is stored by batteries 21 , supercapacitors (SC) 22 , flywheel energy storage (FES) 23 , superconducting magnetic energy storage (SMES) 3 and compressed air energy storage 24 .FESs are efficient, less maintained, high response time and not affected by repeating charge and discharge.Its disadvantages are a high cost and a short life span.On the other hand, SC is an important source of reactive power when voltage level is decreased than its rated value.Its efficiency is around 85-95%.It is an important source of reactive power.It has long lifetime.It is not affected by charging and discharging rate.It has high power density compared by other types.It has less energy density 22 .Compressed air energy storage is higher power density.Its efficiency is 80-90%, but it has high capital cost 24 .
Approaches proposed for enhancing PV systems are based on improving control methods and adding external devices as well.Improved control methods include feedback linearization control 25 , fuzzy logic control 26 , adaptive DC-link voltage control strategy 27 and modified inverter control 28 .External devices are added using ESDs such as batteries 21,29 and SC 30 , injection reactive power devices like FACTS devices 31 , and protective devices (e.g.fault current limiters 31 , dynamic braking resistors 32 , and DC-link crowbar (CB) circuit 33 ).
To adapt to the expansion of energy sources, microgrids (MGs) are utilized to boost the reliability and stability of power systems that operate in two-mode egrid-connecting mode or islanding mode.A MG includes wind farms and/or PV array systems, both of which have numerous advantages, including their high flexibility and scalability for different purposes, as well as power management capabilities 34 .
Numerous approaches are introduced to enhance the LVFRT capability of PV-wind MGs.As in 35 , a hybrid PV/ WT based on a SC ESD is proposed to flatten power instabilities under varied wind speed and solar irradiance.SC has a quick response time for power regulation 36 .In 37 , improving the LVFRT capability of hybrid PV/wind using STATCOM is being explored.As in 38 , LVFRT capability of hybrid PV-wind with new control methods is proposed.However, LVFRT capability of hybrid PV-wind with adaptive DC-link control is proposed in 34 .As presented in 39 , hybrid wind-PV based on a lithium-ion battery is presented.As in 40 , the LVFRT capability of hybrid PV/WT using CB circuit is discussed.As reported in 41 , LVFRT capability of hybrid PV/WT using DVR is proposed.
Currently, DFIG controls 50% of all installed wind energy conversion systems, leading all other forms of WTG installations globally 42 .Because its stator is directly coupled to the power egrid and its rotor is linked to a back-to-back (BtB) converter, the DFIG is particularly vulnerable to egrid faults.The DFIG is principally sensitive to power egrid faults as its stator is straightforward coupled to the power egrid and its rotor is linked to BtB converter.This is the most used generator that has been applied to wind turbines that work at sub and super synchronous speeds, and its converter handles with 30% of its ratings so power losses are low 7 .DFIG is simple controllability of the active and reactive power, controllability of the grid and generator sides, and functionality under fluctuating wind speed 42,43 .
Batteries are superior device as they are capable of storing excess energy, and reduce the amplitude of AC current.The disadvantages of batteries are short life span if the battery is discharged deeply, fluctuation in DC parameters, and has a slow time response, so it cannot provide frequency support 44,45 .A lithium-ion battery is the most commonly used to enhance the dynamic performance of DFIG according to decision matrix (DM) criteria in 46 .
SMES is a DC control device that stores electrical energy into an electromagnetic field when the direct current has flowed in a superconductor coil.The merits of SMES are high Cyclic efficiency (90-95%), large power density, short response time, and unlimited charging and discharging cycle.It has a high capital cost.To ensure efficient application of SMES, suitable power system locations must be selected carefully in the power system 7 .
Various optimization algorithms are for the use of getting the optimal sizing of an off-grid with PV panels, wind turbines, and battery.In 47 , a hybrid genetic algorithm with particle swarm optimizer is applied to get the optimal size of hybrid PV panels, wind turbines, and battery.In 48 , genetic algorithm (GA) is applied to optimize the design variables of hybrid solar/wind/battery system (number of the PV modules, number of wind turbines, number of batteries, the PV module slope angle, and the wind turbine installation. The coot bird optimizer (CBO) is an intelligent optimization algorithm which used to improve the LVFRT capability of the studied systems.The CBO is used to determine the suitable ratings of both the battery and the super capacitor according to decrease ripples in the DC-link voltage.Choosing the suitable ratings of both the battery and the super capacitor has a great effect on the DC-bus voltage.
This article presents a methodology for the performance improvement for LVFRT of PV, DFIG based WT, and hybrid PV/WT on egrid mode using CB protection, batteries, and SCs.MATLAB/Simulink is employed to imitate the performance of the three systems in different cases during symmetrical and asymmetrical failures.The dynamic model of each system is discussed.The CBO is implemented to decide the optimal size of battery, and SCs.Moreover, the CBO is applied to generate the best gains of bi-directional converter PI-controller and the ESDs ratings to have minimum ripples in the DC bus voltage and to boost the LVFRT capability of the MGs.
The text of this article is coordinated as follows: "System configuration and modelling" announces the system's construction and model."Results and discussions" demonstrates the numerical results and discussions."Procedures of the CBO with problem formulation" publicizes the procedures of CBO with problem formulation, and "Conclusions" concludes the final view plus future trend of this effort.PV system is comprised of a PV cell, a DC/DC boost converter, and a DC/AC inverter, all of which are associated to crop the MP at various sun radiation levels.The DC/DC converter can be regulated by an MPPT controller, which ensures MP saving in different environments.The DC/AC inverter dominates the DC bus voltage and controls the injected reactive power to the system by applying the voltage-oriented control (VOC) technique.The system is associated to the egrid through a 0.25/22 kV step-up transformer, and a 30 km transmission line 49 .The parameters of PV system are illustrated in Appendix (A1).

System configuration and modelling
A 6 MW wind farm is presented in Fig. 1b.The DFIG-WT system is consisted of a wind turbine, a drive train system, a pitch controller system, a speed control system, DFIG, RSC, and GSC all of which are connected to control wind power and inject the produced power into the egrid at a constant frequency.The rotor converter captures the MP at different wind speeds, while the egrid converter regulates the substituted reactive power with the egrid.The parameters of wind farm are illustrated in Appendix (A1).
The hybrid PV/WT on-egrid mode consists of a 1 MW WT and a 400 kW PV system linked to the grid via 30 km of transmission lines and a 0.25/22 kV D/Y step-up transformer.As shown in Fig. 1c, the PV system is connected to WT via buck boost converter to 1150 DC V bus.The ESD keeps up with the dc-link voltage of the hybrid system via the bi-directional DC/DC converter to improve LVFRT ability.

Modelling of DFIG-WT and its conversion system
The mathematical model of WT is derived by extracting the mechanical output power 50,51 as follows.
As DFIG provides variable speed operation, it can operate at sub-synchronous and super-synchronous speeds, so it is the most commonly used generator in wind systems.In DFIG, the stator is directlylinked to the egrid (1) www.nature.com/scientificreports/and its rotor is associated to a BtB converter, thus making it more economical.DFIG and its conversion system are in Fig. 1b.The mathematical model for DFIG according to d-q reference is in 46,52 .The DFIG BtB converter controls active and reactive power through vector technique to achieve a varying speed operation as shown in Fig. 1b.RSC controls electromagnetic torque in the q axis and converts stator reactive power through the d axis.Three-phase rotor current i rabc is transformed to rotor current in d-q axis ( i qr , i dr ).The reference power ( p * s ), which is derived from the MPPT curve, is compared with the measured value ( P S ) to get i * qr .The reactive power is controlled by comparing Q * s with both Q S to get i * dr • i * qr and i qr are compared to get error signals which are sent to the PI-controller to get V dr and also the same for i * dr and i dr to get V qr .The ( V dr , V qr ) signals are sent to PWM to obtain the RSC signal as revealed in Fig. 2a.The GSC adjusts DC voltage at its rated value and controls reactive power, which is substituted between the GSC and the egrid.The rated value of DC voltage ( v * dc ) is compared with the measured value of dc voltage to get i * dg .Q * g is compared with Q g to get i * g .I qg is compared to i * qg to getting an error signal and sending it to the PI-controller to get v qg .The same is true for I dg and i * dg to get v dg .Current regulators adjust error signals ( v qg , v qg ) and send them to PWM to get GSC switch signal as publicized in Fig. 2b.
The stator and rotor voltage equations in the d-q reference are as follows.

PV system model
A PV array comprises of 5 PV sections associated in a series to shape a PV string.66 PV strings are associated in a shunt to obtain the optimal power of 100 kW.A Sun Power (SPR-305E-WHT-D) panel is implemented in this system.The single diode model is the most utilized.PV circuit output current can be illustrated (9-10) [53][54][55] :

DC/AC inverter
As shown in Fig. 3, the fundamental components of the inverter are phase locked loop (PLL), DC-link voltage, and current regulator controllers, all of which are associated together to keep DC voltage at its reference value and manage reactive power.A PLL produces the egrid voltage angle ( θ Pll ), which changes the (abc) value to the axis (d-q).The DC voltage controller keeps DC voltage at its rated value of 500 V by comparing the actual DC voltage (v dc ) with the reference value ( v * dc ) and the difference is applied to the PI-controller to determine rated current in d-axis ( I * d ).Current regulator based feed forward get ( V dconv, V qconv ) to pulse width generator to get pulses for inverter.The feed forward method is simple and readily realized in the traditional control structure.It can eliminate the negative damping of inverter impedance in a wide frequency range.It contributes in eliminating (6)   www.nature.com/scientificreports/ the disturbance in the current control loop and improve the system stability under various working conditions 56 .
Voltage equations in the d-q reference are as follows 37 :

DC/DC converter
A boost converter plays a significant role in transferring the solar power to the DC/AC inverter by regulating MP through an incremental conductance MPPT controller 57,58 .It regulates PV voltage through an IGBT switch, who's on-to-off time with a constant frequency is known as the duty cycle as shown in Fig. 4. The duty cycle is calculated by the following equations:

Model of bidirectional DC/DC converter
Figure 1c demonstrates the bidirectional DC/DC converter that is utilized to add a battery or the SC into the DC-link to obtain the DC-bus voltage at a regulated value.Controlling a DC/DC converter can be achieved by two loops.A PI-controller is utilized in the outer control loop to generate the reference current.As indicated in Fig. 5, the inner control loop is utilized to generate the pulse signal to switch on S 2. S 1 is turned off (boost mode) (11)  to discharge electrical energy to the DC-link to power the ESD.During a fault condition, ESD is performed regardless of which switch ( S 1 ) is on or ( S 2 ) is off (buck mode) to store excess power in the DC-link to keep the DC-link balanced and return it when needed 59 .The bidirectional DC/DC converter's dynamic average model's mathematical formulae are as follows:

Crowbar scheme
CB is a vital protection scheme utilized to safeguard DFIG during a fault.It is composed of a resistor connected to a full-bridge rectifier, which is connected directly to the rotor circuit.By dampening excess power, CB prevents damage to the DFIG during a fault.When CB is online, DFIG is similar to a squirrel cage induction generator during the CB circuit.With a low resistance value, the electromagnetic torque increases, while a higher value increases the ripple voltage in the DC-link.The optimal value of CB resistance is calculated by ( 19) [60][61][62] .

DC crowbar scheme for PV system and its modelling
This scheme is proposed to protect the PV inverter from increasing voltage and maintain DC voltage at its rated value by absorbing the overvoltage to achieve the LVFRT requirement of the egrid code during a disturbance.The DC CB is associated to the DC-link in parallel and managed by an IGBT switch.The estimation of the CB resistance must be calculated carefully since the PV inverter performance is sensitive to the fault.Dc voltage should be checked between the specified high grid voltage " v g = 1.1 pu" and the low grid voltage v g of 0.85 pu 63 .The ideal estimation of CB resistance is determined by the following equations:

Battery modeling
The battery is the most widely used ESD due to its ability to charge and discharge electrical power through a bidirectional DC/DC converter to increase the reliability of the system as PV and wind systems are dependent on the weather 49 .The high efficiency of a battery can be kept by controlling its state of charge (SoC).Various types of rechargeable batteries are used, but lithium-ion is chosen based on decision matrix (DM) criteria in 64,65 .Its size can be calculated by following (24-26), which describes the discharge and charge statutes of batteries.Battery power is described in (27) 39 .
where DOD is the depth of discharge ( 17)

Supercapacitor modelling
To solve issues of LVFRT capability, SC is associated with the DC-link of the renewable system through a bidirectional DC/DC converter.It has a high-power density, a long lifetime, a wide temperature range, and a high response time to charge and discharge energy, but only stores energy for a short time 66 .Equations ( 28) and ( 29) are used to define the proper size of SC in steady-state operation 5 .On the other hand, Eq. ( 30) provides a SoC expression that can be used to save the capacitor lifetime.

Results and discussions PV system associated to egrid
As shown in Fig. 6, PV associated to the egrid with CB, battery, and SC is studied.The performance of a PV system with the three devices is studied under symmetrical fault (3ph fault) and asymmetrical fault (2LG fault) for 150 ms.

Performance of PV system under symmetrical fault
The PV system associated to the egrid during a 3 ph fault is analyzed.Figure 6a depicts the DC bus voltage without any devices, which fluctuates between 910 and 390 V.After adding the CB circuit, it fluctuated between 380 and 550 V.After adding the CB circuit, it fluctuated between 380 and 550 V.After the battery is added, the DC bus voltage oscillates between 600 and 390 V, then recovers to its reference voltage at the specified level of 500 V.A closer look at Fig. 6a reveals that SC keeps the DC voltage at the specified level of 500 V and contributes to quickly recovering the DC bus voltage to the specified level.By adding CB, the DC bus voltage is higher than when the battery is added to the DC-link voltage.As revealed in Fig. 6b, active power extracted from the PV system oscillates, then the fault reduces the power.When the CB is added, power fluctuation decreases to 89 kW.When a battery is added, power oscillation is decreased to 69 kW.By adding SC, power oscillation is reduced to 98 kW.The oscillations are stabilized at 89 kW after the fault is resolved, and the active power does not exceed the reference value, as cleared in Fig. 6b.It may establish that the SC successfully reduces the oscillations of active power and maintains it at its predefined value.The battery charges during the fault duration as shown by Fig. 6c,d to support the DC-link voltage.
In Fig. 7a-d, it is observed that the current in the cases of CB, battery, and SC is lower than the rotor current during a fault without device (reduces the current to 3 A).Figure 7e shows the total harmonic distortion (THD) of PCC current without device, with CB, battery, and SC.The THD is about 2.6% before and after the fault.THD during fault is more enhanced with adding of energy storge devices (ESDs).

Performance of PV system under unsymmetrical fault
A PV system on egrid mode is tested when a severe 2LG fault is applied.In Fig. 8a, the DC voltage changes between 900 and 400 V and it increases rapidly during fault without control device.As a result of adding the CB circuit, it fluctuated between 430 and 530 V and then returned to the rated value of 500 V again after clearing the fault for 0.2 s.In the case of battery connection, the DC voltage varies between 570 and 480 V.The SC keeps DC voltage at its rated level.
Figure 8b shows active power where the power drops to 62 kW.After adding CB, the power oscillation is reduced to 95 kW.The power is reduced to 98 kW with the battery, while the SC stabilizes the fluctuations of power at a rated value.The battery charges during the fault duration as shown by Fig. 8c,d to support the DClink voltage.
The output current of the CB circuit is less than the current of the battery and SC in Fig. 9a-d.

eGrid-connected DFIG based wind turbine
The performance characteristics of a 6 MW DFIG-WT farm are studied in a MATLAB/Simulink environment with different LVFRT schemes (CB, battery, and SC).The wind farm operates at an 11 m/s fixed wind speed.

Performance WT system under symmetrical fault
The performance of the DFIG-WT on-egrid system with CB, batteries, and SC is depicted in Fig. 10.The 3ph fault is implemented in PCC at 0.4 s and lasts 150 ms.The SOC of the battery is considered below 80%. Figure 10a demonstrates that the battery maintains the DC bus voltage better than SC.When the SC is used, oscillations www.nature.com/scientificreports/ in active power decrease (see Fig. 10b).Figure 10c shows that a CB extracts more reactive power than the battery case.The battery charges during the fault duration as shown by Fig. 10c,d to support the DC-link voltage.In Fig. 11a-d, it is observed that the rotor currents in the cases of CB, battery, and SC is lower than the currents during a fault without device.Figure 11e shows the THD of PCC current without device, with CB, with battery, and SC.The THD is about 2.6% before and after the fault.THD during fault is more enhanced with adding of ESDs.www.nature.com/scientificreports/oscillations of active power are decreased because of adding SC.In Fig. 12c, CB extracts more reactive power than the battery.By closer look to Fig. 13a-d, the performances of DFIG-WT on-grid mode during the asymmetrical fault with and without adding any storage as illustrated.Figure 13e shows the THD of PCC current without device, with CB, with battery, and SC.The THD is about 2.6% before and after the fault, the THD during fault is more enhanced with adding of ESDs.The PV/WT system on-grid mode is shown in Fig. 1c.In steady state, the PV system produces 400 kW while the wind turbine produces 1 MW.During a 3-ph fault, the DC-link voltage is dropped, and the grid power is decreased.Hybrid power systems' performance is analyzed and compared with different LVFRT schemes.LVFRT capability schemes protect the rotor circuits and the dc-bus voltage from overvoltage.An investigation of the effectiveness of various LVFRT schemes on the PV/WT hybrid power system is discussed during a 3-ph fault and a 2L to G fault lasting for 150 ms at t = 4 s. Figure 14 illustrates the performance of a hybrid PV/WT system with LVFRT devices (CB, battery, and SC). Figure 14a demonstrates the DC bus voltage during a three-phase fault.If there is no device, DC voltage increases dramatically to 1240 V and there is a significant overshoot.If a CB circuit is added, the DC voltage decreases from 1240 to 1170 V.After adding a battery, DC voltage decreases and regains to its reference level with low oscillations during the fault period.The figure also shows that SC preserves the DC bus voltage constant at its rated value of 1150 V during an issue.SC keeps DC voltage at its rated level, decreases oscillations of active power, and the system reaches stability faster.Figure 14b resolves active power delivered to the egrid.In steady-state, the PV unit injects 400 kW of power into DC bus voltage using the incremental conductance MPPT technique, and the DFIG-WT injects 1 MW into the grid.A three-phase fault decreases active power, which increases the DC voltage.When LVFRT schemes are used, active power oscillations are decreased.The battery stores power, but the power is dissipated in CB resistance.According to Fig. 14b, after a fault has been cleared, the osculation of active power decreases with the LVFRT schemes.As demonstrated in Fig. 14c, SC absorbs less reactive power.As shown in Fig. 15, the CB, battery, and SC contribute to reducing the rotor current during a fault.

Performance of hybrid PV/WT system under asymmetrical fault
Figure 16 shows the performance of PV/WT on-grid mode with three different LVFRT strategies (CB, batteries, and SC). Figure 16a illustrates the DC bus voltage during a 2L to ground fault.As a result of a 2L to ground fault, DC voltage increases drastically, and a large overshoot occurs.By adding CB, the DC voltage decreases to 1160 V.As a result of adding the battery, the DC-link voltage decreases to 1157 V. SC decreases the DC voltage to 1157 V.The SC and the battery, as shown in Fig. 16a, both contribute to lower DC voltage overshoot.
In a steady-state operation, the PV unit injects the MP of 400 kW into the DC bus voltage by using the incremental conductance MPPT technique, and the DFIG-based WT injects 1 MW into the grid.During a 2LG fault, the power decreases and the DC-bus voltage is increased.When LVFRT schemes are added to the DC-link of the  www.nature.com/scientificreports/Every one of the coot's followers is created to one of the coot's leaders according to haphazard function and updates their positions, accordingly, beginning from iteration 2 to the extreme iterations ( Max_IT ) as depicted in (36) and (37).The new followers' positions are limited to be within constraints as in (38).where Rand coots is the coot's follower who haphazardly produced the values and Rand leaders is the Coot's leader randomly produced the values.The updated fitness of all Coot's followers is calculated and compared with its leader's fitness.If the follower's fitness is better than its corresponding leader, the follower becomes a leader and the leader changes to a follower as in (46).The values of the inductor in (Henry), the battery in (Ah), and the SC in (F) are chosen based on ( 14), (24)  and (29).The min/max limits of the PI-controller are decided by means of numerous trial-and-error procedures.
Demonstrated simulations are executed under the MATLAB/SIMULINK environment and are reinforced by a set of tables and some illustrative figures.The cropped results of the three studied systems using CBO and the calculated ones are compared as depicted in Table 1, cropped overall many independent runs.The calculated ratings of both the battery and the super capacitor are obtained using ( 24)- (25), and ( 28)- (29).The values of the parameters of the PI-controller are chosen by the try and error process, while the value of the inductor is calculated based on ( 14) and (15).
It is noticed from the Table that the ripples in the DC bus voltage are more enhanced by the cropped values from CBO. Figure 19 shows ripples in the DC bus voltage of a PV system linked to the grid.Figure 19a illustrates that the ripples are improved by the CBO cropped rating of the battery.Figure 19b shows the same effect of the CBO'S cropped super capacitor rating on the voltage ripples.For WT systems connected to the grid, Fig. 20a,b demonstrate that the CBO'S cropped ratings of the battery and super capacitor more enhance the voltage ripples.Figure 21a,b shows that CBO's cropped results improve voltage ripples in hybrid PV-WT systems connected to the grid.

Figure
Figure1a-c shows three systems of a 100 kW PV on-egrid mode, a 6 MW DFIG-WT on-egrid mode, and a 1.4 MW hybrid PV/WT on egrid mode.They are detailed as follows.PV system is comprised of a PV cell, a DC/DC boost converter, and a DC/AC inverter, all of which are associated to crop the MP at various sun radiation levels.The DC/DC converter can be regulated by an MPPT controller, which ensures MP saving in different environments.The DC/AC inverter dominates the DC bus voltage and controls the injected reactive power to the system by applying the voltage-oriented control (VOC) technique.The system is associated to the egrid through a 0.25/22 kV step-up transformer, and a 30 km transmission line49 .The parameters of PV system are illustrated in Appendix (A1).A 6 MW wind farm is presented in Fig.1b.The DFIG-WT system is consisted of a wind turbine, a drive train system, a pitch controller system, a speed control system, DFIG, RSC, and GSC all of which are connected to control wind power and inject the produced power into the egrid at a constant frequency.The rotor converter captures the MP at different wind speeds, while the egrid converter regulates the substituted reactive power with the egrid.The parameters of wind farm are illustrated in Appendix (A1).The hybrid PV/WT on-egrid mode consists of a 1 MW WT and a 400 kW PV system linked to the grid via 30 km of transmission lines and a 0.25/22 kV D/Y step-up transformer.As shown in Fig.1c, the PV system is connected to WT via buck boost converter to 1150 DC V bus.The ESD keeps up with the dc-link voltage of the hybrid system via the bi-directional DC/DC converter to improve LVFRT ability.

Figure 3 .
Figure 3.Control system of DC/AC converter.

Figure 4 .
Figure 4. Control system of DC/DC converter.

Figure 5 .
Figure 5.Control system of bidirectional DC/DC converter.

Figure 6 .
Figure 6.Performance of the PV system.

Figure 10 .
Figure 10.Performance of DFIG-WT on-grid mode during the symmetrical fault.

Figure 19 .
Figure 19.DC-link voltage of PV system associated to the grid.

Figure 20 .
Figure 20.DC-voltage of WT system connected to the grid.

Figure 21 .
Figure 21.DC-voltage of PV/WT system connected to the grid.

Table 1 .
Comparison between calculated and CBO's cropped values.